<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Đăng nhập trang quản lý</title>
        <style type="text/css">
            body {
                background-image:url('<?= base_url() ?>files/img/bg_dots.gif');
                margin:0px;
                padding:0px;
            }
            #logo {
                margin:150px auto 15px;
                display:block;
            }
            #message {
                margin:auto;
                width:320px;
                margin-bottom: 15px;
                background:#d7330d; /*#008000 #d7330d darkorange*/
                color:#FFFFFF;
                font-weight:bold;
                padding:4px;
                text-align:center;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
            }
            #login_container {
                margin:auto;
                font-family:'Lucida Grande', Arial, Verdana, sans-serif;
                font-size:14px;
                color:#555;
                padding:10px;
                width:310px;
                background-color:#fff;
                border: darkorange 1px dashed; /* #ccc */
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
            }
            .form_input
            {
                display:block;
                border:1px solid #ccc;
                padding:5px;
                width:300px;
                border-radius: 3px;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                font-size:16px;
                outline:none;
                font-family:Arial, Verdana, sans-serif;
                color:#555555;
                margin:0px 0px 10px;
            }

            label {
                display:block;
                padding:3px;
            }

            #error {
                background-color:#d7330d;
                border:1px solid #be2907;
                width:958px;
                margin:auto;
                color:#ffffff;
                font-size:12px;
                font-family: "Lucida Grande", Arial, Verdana, sans-serif;
                font-weight:bold;
                text-align:center;
                padding:10px 0px;
            }

        </style>
    </head>
    <body>
        <a href='<?= base_url() ?>' title="Về trang chủ"><img src='<?= base_url() ?>files/admin/images/login_image.png' id="logo"/></a>
        <?php if (isset($message)) echo '<div id="message">' . $message . '</div>'; ?>
        <div id="login_container">
            <form action="<?= $_SERVER["PHP_SELF"] ?>" method="post" accept-charset="utf-8">
                <label>Tên tài khoản</label><input type="text" name="username" value="" id="email" class="form_input"  />
                <label>Mật khẩu</label><input type="password" name="password" value="" id="password" class="form_input"  />
                Ghi nhớ đăng nhập       <input type="checkbox" value="true" name="remember" />
                <input type="submit" value="Đăng nhập" name="mysubmit" style=" margin:0px; padding:5px 10px; float:right;"/>
                <br style="clear:both;"/>
                <input type="hidden" value="" name="redirect"/>
                <input type="hidden" value="submitted" name="submitted"/>
            </form>
        </div>
    </body>
</html>